package com.service.component.group.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.service.component.common.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ：Administrator
 * @create ：2021/7/22 10:14
 * @description：组实体
 * @modified By：
 * @version: 1.0.0$
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "组表")
@TableName(value = "sys_group")
public class Group extends CommonEntity {

    @TableField(value = "GROUP_NO")
    @ApiModelProperty(value = "组编号")
    private String groupNo;

    @TableField(value = "PARENT_ID")
    @ApiModelProperty(value = "组织父标识")
    private String parentId;

    @ApiModelProperty(value = "组英文名称")
    @TableField(value = "GROUP_NAME_EN")
    private String groupNameEn;

    @ApiModelProperty(value = "组中文名称")
    @TableField(value = "GROUP_NAME_CN")
    private String groupNameCn;

    @TableField(value = "GROUP_DESCRIBE")
    @ApiModelProperty(value = "组描述")
    private String groupDescribe;
}
